package com.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

//这个是用于springMVC的bean容器
@Configuration
@ComponentScan("com.controller")
@EnableWebMvc//开启之后就可以接收JSON对象了
public class SpringMvcConfig {
}
